This is a snippet of code from the Kitchen toolset referenced here: https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014219378 This specifically is from the "Create DXL attributes" script. Anyway, the problem I was hoping to be resolved is when this script is run, when it is pulling multiple attributes, it prints them all on separate lines. I was wondering if there was a way to print them to the same line. attached is also the file
<code> //print dxlScript "\n"
// create attribute
ad = create object type "Text" (attribute attrName) dxl stringOf(dxlScript)
if ( pleaseCreateColumn ) </code> Joe_Fitzpatrick - Mon May 15 18:33:47 EDT 2017 |
Re: Printing linked attributes to same line So are you trying to pull data to Module A from Module B to display in individual columns? |
Re: Printing linked attributes to same line MrNiceGuy - Mon May 15 19:07:14 EDT 2017 So are you trying to pull data to Module A from Module B to display in individual columns? Yes. The script pulls two separate attributes from one module, and prints them them in a new attribute in a different module. The problem I'm having (which is relatively minor, I know), is when it adds the information to the new attribute, it adds them on two separate lines, instead of on the same line, and I would like them to be on the same line. |